{extend name="public/base"}

{block name="main"}
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页
    <span class="c-gray en">&gt;</span> 酒字征集
    <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="Hui-article">
    <article class="cl pd-20">
        <div class="mt-20">
            <table class="table table-border table-bordered table-hover table-bg table-sort">
                <thead>
                <tr class="text-c">
                    <th width="80">ID</th>
                    <th width="100">图片</th>
                    <th width="100">姓名</th>
                    <th width="100">电话</th>
                    <th width="300">酒字描述</th>
                </tr>
                </thead>
                <tbody>
                {volist name="data" id="vo"}
                <tr class="text-c">
                    <td>{$vo.id}</td>
                    <td class="text-l">
                        {notempty name="vo.image_1"}
                        <a class="element" href="javascript:;" data-html="true" data-content="<img src='__PUBLIC__{$vo.image_1}' style='max-width: 250px; max-height: 250px;' />" data-toggle="popover" data-trigger="click">
                            <img style="max-width: 50px; max-height: 50px;" src="__PUBLIC__{$vo.image_1}" />
                        </a>
                        {/notempty}
                        {notempty name="vo.image_2"}
                        <a class="element" href="javascript:;" data-html="true" data-content="<img src='__PUBLIC__{$vo.image_2}' style='max-width: 250px; max-height: 250px;' />" data-toggle="popover" data-trigger="click">
                            <img style="max-width: 50px; max-height: 50px;" src="__PUBLIC__{$vo.image_2}" />
                        </a>
                        {/notempty}
                        {notempty name="vo.image_3"}
                        <a class="element" href="javascript:;" data-html="true" data-content="<img src='__PUBLIC__{$vo.image_3}' style='max-width: 250px; max-height: 250px;' />" data-toggle="popover" data-trigger="click">
                            <img style="max-width: 50px; max-height: 50px;" src="__PUBLIC__{$vo.image_3}" />
                        </a>
                        {/notempty}
                    </td>
                    <td><u style="cursor:pointer" class="text-primary">{$vo.username}</u></td>
                    <td><u style="cursor:pointer" class="text-primary">{$vo.mobile}</u></td>
                    <td><u style="cursor:pointer" class="text-primary">{$vo.msg}</u></td>
                </tr>
                {/volist}
                </tbody>
            </table>
        </div>
        <div class="cl pd-5 bg-1 bk-gray tp5-page mt-20">
            {$data->render()}
        </div>
    </article>
</div>
{/block}